import 'package:vxima/book_playlist_entity.dart';

class AppPlaysModel {
  int iIndex;
  int iId;
  String title;
  String playlink;

  AppPlaysModel({this.iIndex, this.iId, this.title, this.playlink});

  AppPlaysModel.fromJson(Map<String, dynamic> json) {
    iIndex = json['_index'];
    iId = json['_id'];
    title = json['title'];
    playlink = json['playlink'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['_index'] = this.iIndex;
    data['_id'] = this.iId;
    data['title'] = this.title;
    data['playlink'] = this.playlink;
    return data;
  }
}